GetTrackEditRate
TheGetTrackEditRate
function returns the rate of the track edit of a specified track at an indicated time.
pascal Fixed GetTrackEditRate (Track theTrack, TimeValue atTime);
theTrack
- Specifies the track identifier for which the rate of a track edit (at the time given in the
atTime
parameter) is to be determined.atTime
- Indicates a time value at which the rate of a track edit (of a track identified in the parameter
theTrack
) is to be determined.DESCRIPTION
If an invalid time or track is passed, the returned value is 0.0. The track edit rate is typically 1.0, unless either theScaleMovieSegment
orScaleTrackSegment
function has been called. (For more on theScaleMovieSegment
andScaleTrackSegment
functions, see page 2-244 and page 2-250, respectively.)The
GetTrackEditRate
function is relevant if you are stepping through track edits directly in your application or if you are a client of the base media handler. (See Inside Macintosh: QuickTime Components for details on media handlers.)